import Vue from 'vue'
/* 引入第三方小型组件或者全局注册公共组件 */
import CreateAPI from 'vue-create-api'
import 'viewerjs/dist/viewer.css'
import Viewer from 'v-viewer'

import ImgViewer from '@/components/imgViewer/imgViewer'

Vue.use(CreateAPI)
Vue.use(Viewer, { defaultOptions: { zIndex: 9999 }})
Vue.createAPI(ImgViewer, true)
Vue.component('page-table', () => import('@/components/PageTable/pageTable.vue'))
Vue.component('file-upload', () => import('@/components/fileUpload/fileUpload'))
Vue.component('map-location', () => import('@/components/MapLocation/MapLocation'))
